﻿using System.Collections.Generic;
using Cms.Domain;

namespace Cms.Application.Admin.Views
{
    public interface IEditMenuView : IAdminPageView, ITranslatable
    {
        int MenuID { get; }

        string CurrentTab { get; }

        string Name { get; set; }

        string Description { get; set; }

        bool ItemIsActiveWhenSubItemIsActive { get; set; }

        SubMenuBehaviour SubMenuBehaviour { get; set; }

        string Code { get; set; }

        int SelectedLocaleID { get; set; }

        int SelectedVersionID { get; set; }

        string ActiveItemPrefix { get; set; }

        int ExtraWrapperSpans { get; set; }

        void SetMenuID(int id);
        
        void SetLocales(IEnumerable<Locale> locales);
        
        void SetVersions(IList<MenuVersion> versions, int publishedVersionID);
        
        void SetItems(string menuName, IList<MenuItem> items);
    }
}